package com.example.newbilityblog.admin.service.mapper;

import com.example.newbilityblog.blog.api.request.CreateBlogRequest;
import com.example.newbilityblog.blog.api.request.UpdateBlogRequest;
import com.example.newbilityblog.blog.domain.command.CreateBlogCommand;
import com.example.newbilityblog.blog.domain.command.UpdateBlogCommand;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface AdminBlogMapper {
    UpdateBlogCommand toUpdateBlogCommand(UpdateBlogRequest updateBlogRequest);
    CreateBlogCommand toCreateBlogCommand(CreateBlogRequest createBlogRequest);
}
